import { _decorator, Component, Node, animation, Animation } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('NewComponent')
export class NewComponent extends Component {
	start() {
		let ani = this.node.getComponent(Animation)

		ani.play('run')
	}

	update(deltaTime: number) {

	}
}

